/**
 * Description:一些注释<br/>
 * CreateTime:2019-04-12<br/>
 * Creater: yangpengfei360@126.com <br/>
 * @author yangpengfei
 */
package cn.cnsy123.bookwebsiteserver.service.sysrequest.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cn.cnsy123.bookwebsiteserver.entity.SysRequestInfo;
import cn.cnsy123.bookwebsiteserver.repository.SysRequestDao;
import cn.cnsy123.bookwebsiteserver.service.sysrequest.SysRequestService;

/**
 * Description:一些注释<br/>
 * CreateTime:2019-04-12<br/>
 * Creater: yangpengfei360@126.com <br/>
 * @author yangpengfei
 */
@Service
public class SysRequestServiceImpl implements SysRequestService {
    
    @Autowired
    private SysRequestDao sysRequestDao;

    @Override
    @Transactional(rollbackFor = RuntimeException.class)
    public void pushMessage(SysRequestInfo sysRequestInfo) {
        sysRequestDao.save(sysRequestInfo);
    }

}
